package retrofit2.harmony.util.rx;

import retrofit2.harmony.util.rx.scheduler.BaseRxScheduler;
import retrofit2.harmony.util.rx.scheduler.IoMainScheduler;

public class RxSchedulerUtil {
    private RxSchedulerUtil() {
    }

    /**
     * 子线程转主线程
     */
    public static  <T> BaseRxScheduler<T> ioToMain() {
        return new IoMainScheduler<>();
    }
}